<template>
  <van-sticky>
    <van-nav-bar title="项目日志" @click-left="router.back()">
      <template #left>
        <van-icon name="arrow-left" size="20"/>
      </template>
    </van-nav-bar>
  </van-sticky>
  <!--<Main></Main>-->
  <router-view></router-view>
</template>

<script setup>
import {useRoute, useRouter} from "vue-router"
import {onMounted} from "vue"
const router = useRouter()


onMounted(()=>{
  // emitter.emit('updateActive', 2)
})
</script>

<style scoped lang="less">
:deep(.van-nav-bar .van-icon){
  color: black;
}
</style>